home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1998 June / Software of the Month Club 1998 June.iso / pc / dos / biz / quickref / template.mcr < prev    next >
Encoding:
Text File  |  1998-04-15  |  2.4 KB  |  76 lines

  1. 'File: TEMPLATE.MCR
  2. 'Sample / template QuickRef Project Assistant macro file
  3.  
  4. 'Use macro files to automaticaly insert a batch of typical items into a
  5. 'project's set of records.
  6.  
  7. 'The macro file format is simple. First, specify the mode (TIME / MONEY) for
  8. 'the items to follow. Use EXACTLY one of these formats to to specify mode:
  9.  
  10. '          %time_mode%
  11. '          %money_mode%
  12.  
  13. 'Next, each line item consists of a set of two lines where the first of the
  14. 'set is the item's note, and the second is the amount.
  15.  
  16. 'Macro format rules are as follows:
  17.  
  18. '     plain ASCII text only
  19. '     blank lines, and lines starting with ' are ignored
  20. '     notes will be truncated at 40 characters
  21. '     filename must end in the extension .MCR
  22. '     "STANDARD.MCR" is hardwired into the program as the default name
  23. '     macros must be stored in the main QuickRef directory (with QR.EXE)
  24. '     mode-switch lines are single lines %time_mode% or %money_mode% only
  25. '     item lines must be in sets of two: note, then amount
  26.  
  27. 'You may create as many macro files as you wish, and they may contain as many
  28. 'line items and mode changes as you wish. If you are only going to use one
  29. 'macro, or if you use one a lot more often than others, name it "STANDARD.MCR"
  30. 'to avoid having to type a filename each time.
  31.  
  32. 'This template file should have been set to "read-only" during the
  33. 'installation process. When you select MAKE A NEW MACRO from the macro menu,
  34. 'your text editor will start and load this file. Immediately use your editor's
  35. '"save as" function to save the template as a new .MCR file, and then start
  36. 'adding your own lines below. (Retain these instructions in the file for
  37. 'future reference). The remainder of this file is a "real" sample macro which
  38. 'changes mode twice, inserts six sample line items, and contains comments.
  39.  
  40. '************************** start "real" macro *******************************
  41.  
  42. 'go into time mode...
  43.  
  44. %time_mode%
  45.  
  46. 'insert a few "to-do" items - note that second lines (amounts) are zero...
  47.  
  48. read the QuickRef manual
  49. 0
  50.  
  51. learn how to use the macro utility
  52. 0
  53.  
  54. register QuickRef
  55. 0
  56.  
  57. 'go into money mode...
  58.  
  59. %money_mode%
  60.  
  61. 'note that the second lines represent currency figures
  62.  
  63. register QuickRef
  64. 35
  65.  
  66. shipping and handling
  67. 2.5
  68.  
  69. 'money mode can have "to-do" reminders also...
  70.  
  71. try out READ editor (from WellsCom)
  72. 0
  73.  
  74.  
  75. '************************** end "real" macro ********************************
  76.